import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import { AntdRegistry } from '@ant-design/nextjs-registry';

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
  title: "APP",
  description: "yummy app",
};
const bodyStyle: React.CSSProperties = {
  justifyContent:'center',
  display:"flex",
  width:'100%',
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className={inter.className} style={bodyStyle}>
      <AntdRegistry>
        {children}
      </AntdRegistry>
      </body>
    </html>
  );
}
